package com.linzp.bishe.model;

import com.linzp.bishe.entity.AchievementTransformation;
import com.linzp.bishe.entity.Participants;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName AchievementTransformationMoel
 * @Description 前端交互类
 * @Author LinZePeng
 * @Date 2022/2/14 20:30
 * @Version 1.0
 */
@Data
public class AchievementTransformationModel {
	private Integer id;

	private String contractName;

	private String achievementName;

	private String transformationMode;

	private String pricingMethod;

	private Boolean evaluated;

	private LocalDateTime contractDate;

	private String transformationDestination;

	private String companyName;

	private String convertLocation;

	private String applicationIndustry;

	private String governmentType;

	private String contractStatus;

	private Double contractAmount;

	private String annualReceived;

	private String supportingMaterial;

	private String inputPeople;

	private String status;

	private Integer userId;

	private List<Participants> participants;

	public AchievementTransformation getAchievementTransformation() {
		return new AchievementTransformation(id,contractName,achievementName,transformationMode,
				pricingMethod,evaluated,contractDate,transformationDestination,
				companyName, convertLocation,applicationIndustry,governmentType,
				contractStatus, contractAmount, annualReceived, supportingMaterial,
				inputPeople, status,userId);
	}
}
